package com.weixing.mall.pay.channel.ali;

import lombok.Data;

/**
 * @ClassName AliPaySet
 * @Description
 * @Author Small
 * @Date 2020/1/14 15:57
 * @Version 1.0
 **/
@Data
public class AliPaySet {
    /**
     * 公众号APPID
     */
    private String appid;
    /**
     * 商户公钥
     */
    private String merchantPrivateKey;
    /**
     * 支付宝私钥
     */
    private String alipayPublicKey;

    /**
     * 回调地址
     */
    private String notifyUrl;

    /**
     * 支付网关地址
     */
    private String gatewayUrl = "https://openapi.alipay.com/gateway.do";
//    private String gatewayUrl = "https://openapi.alipaydev.com/gateway.do";
    /**
     * 编码
     */
    private String charset = "UTF-8";
    /**
     * 签名格式
     */
    private String signType = "RSA2";
    /**n
     * 报文传输格式
     */
    private String format = "json";
    /**
     *是否使用沙箱环境
     */
    private boolean useSandBox = false;

    private String returnUrl;
}
